<extend name="Public/common" />
<block name="body">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
            <div class="ibox-content">
                <h5 style="float: right;"><a href="javascript:location.reload();"><i class="fa fa-refresh"></i></a></h5>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                        <tr>
                            <th colspan="5"  style="text-align: center;">用户{$member.Name}基本信息</th>
                        </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>帐号名称：</td>
                        <td>{$member.name}</td>
                        <td>昵称：</td>
                        <td>{$member.basename}</td>
                    </tr>
                    <tr>
                        <td>手机号：</td>
                        <td>{$member.phone}</td>
                        <td>邮箱：</td>
                        <td>{$member.email}</td>
                    </tr>
                    <tr>
                        <td>qq号：</td>
                        <td>{$member.qq}</td>
                        <td>用户状态：</td>
                        <td>
                            <if condition="$member['status'] eq 1">
                                被删
                                <else/>
                                正常
                            </if>
                        </td>
                    </tr>
                    <tr>
                        <td>所在服务器：</td>
                        <td>{$qu.qname}</td>
                        <td>信息修改时间：</td>
                        <td>{$member.update_time|retime}</td>
                    </tr>
                    <tr>
                        <td>用户账号创建时间：</td>
                        <td>{$member.create_time|retime}</td>
                        <td>最后一次登陆时间：</td>
                        <td>{$member.last_login_time|retime}</td>
                    </tr>
                    <tr>
                        <td>可用余额：</td>
                        <td></td>
                        <td>总提现额：</td>
                        <td></td>
                    </tr>
                    </tbody>
                </table>
                <div class="table table-bordered" style="width: 80%;margin: auto;margin-top: 20px">
                <tr>
                    <form action="__APP__/Member/detailmember" method="post">
                        <td id="ddd">
                            <span>选择大区：</span>
                            <select name="daqu" id="daqu" onchange="xu()">
                                <foreach name="arr1" item="v">
                                    <option value="{$v.id}">{$v.name}</option>
                                </foreach>
                            </select>
                        </td>
                        <td id="ddv">
                            <span>选择服务器：</span>
                            <select name="xiaoqu">
                                <foreach name="arr2" item="v">
                                    <option value="{$v.id}">{$v.name}</option>
                                </foreach>
                            </select>
                        </td>
                        <input type="hidden" value="{$id}" name="fanname"/>
                        <input type="hidden" name="id" value="{$id}">
                        <input type="hidden" name="name" value="1">
                        <td><input type="submit" value="本服搜索"  class="btn btn-outline btn-info btn-xs">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td><input type="button" value="全服搜索" class="btn btn-outline btn-info btn-xs" id="searchAll"></td>
                    </form>
                </tr>
                </div>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>商会</th>
                    </tr>
                    <tr>
                        <td>名称</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr12" id="v">
                        <tr>
                            <td>{$v.name}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>装备定制信息</th>
                    </tr>
                    <tr>
                        <td>装备类别</td>
                        <td>定制数量</td>
                        <td>创建时间</td>
                        <td>结束时间</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr4" id="v">
                        <tr>
                            <td>{$v.goods_type}</td>
                            <td>{$v.custom_sum}</td>
                            <td>{$v.s_time|retime}</td>
                            <td>{$v.s_time|reetime}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>灵饰定制信息</th>
                    </tr>
                    <tr>
                        <td>灵饰类别</td>
                        <td>售价范围</td>
                        <td>创建时间</td>
                        <td>结束时间</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr5" id="v">
                        <tr>
                            <td>{$v.typename}</td>
                            <td>&lt{$v.price}</td>
                            <td>{$v.s_time|retime}</td>
                            <td>{$v.s_time|reetime}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>召唤兽装备定制信息</th>
                    </tr>
                    <tr>
                        <td>装备类型</td>
                        <td>卖价范围</td>
                        <td>定制数量</td>
                        <td>创建时间</td>
                        <td>结束时间</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr6" id="v">
                        <tr>
                            <td>{$v.equip_type}</td>
                            <td>&lt{$v.price}</td>
                            <td>{$v.custom_num}</td>
                            <td>{$v.s_time|retime}</td>
                            <td>{$v.s_time|reetime}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>召唤兽定制信息</th>
                    </tr>
                    <tr>
                        <td>定制召唤兽名</td>
                        <td>定制数量</td>
                        <td>创建时间</td>
                        <td>结束时间</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr7" id="v">
                        <tr>
                            <td>{$v.summoner_name}</td>
                            <td>{$v.custom_num}</td>
                            <td>{$v.s_time|retime}</td>
                            <td>{$v.s_time|reetime}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>元身定制信息</th>
                    </tr>
                    <tr>
                        <td>元身类型</td>
                        <td>价格范围</td>
                        <td>创建时间</td>
                        <td>结束时间</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr8" id="v">
                        <tr>
                            <td>{$v.ys_type}</td>
                            <td>{$v.price}<{$v.price1}</td>
                            <td>{$v.s_time|retime}</td>
                            <td>{$v.s_time|reetime}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>其他定制信息</th>
                    </tr>
                    <tr>
                        <td>类型</td>
                        <td>价格范围</td>
                        <td>定制数量</td>
                        <td>创建时间</td>
                        <td>结束时间</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr9" id="v">
                        <tr>
                            <td>{$v.goods_name}</td>
                            <td>&lt{$v.price}</td>
                            <td>{$v.number}</td>
                            <td>{$v.s_time|retime}</td>
                            <td>{$v.s_time|reetime}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>供求信息</th>
                    </tr>
                    <tr>
                        <td>标题</td>
                        <td>内容</td>
                        <td>时间</td>
                        <td>类型</td>
                        <td>人数</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr10" id="v">
                        <tr>
                            <td>{$v.title}</td>
                            <td>{$v.content}</td>
                            <td>{$v.create_time|retime}</td>
                            <td>{$v.type}</td>
                            <td>{$v.num}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
                <table class="table table-bordered" style="width: 80%;margin: auto;">
                    <thead>
                    <tr>
                        <th>日志信息</th>
                    </tr>
                    <tr>
                        <td>ip地址</td>
                        <td>操作</td>
                        <td>时间</td>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="arr11" id="v">
                        <tr>
                            <td>{$v.addr}</td>
                            <td>{$v.action}</td>
                            <td>{$v.create_time}</td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
            </div>
    </div>
</div>
    <script type="text/javascript">
        function xu(){
        i=$("#daqu").val()
        v=''
        $.ajax({
        url:"__APP__/Finace/user",
        type:"post",
        data:"id="+i,
        dataType:"json",
        success: function (e) {
        for(k in e){
        v+="<option value='"+e[k]['id']+"'>"+e[k]['name']+"</option>"
        }
        $("#ddv").remove()
        $('#ddd').after("<td id='ddv'><select name='xiaoqu'>"+v+"</select></td>")
        }
        })
        }

        $("#searchAll").click(function () {
            id=$("input[name='fanname']").attr("value")
            window.location.href="__APP__/Member/detailmember/id/"+id
        })
    </script>
</block>
<script>
    $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
